package com.project.projectdemo.controller;

import java.util.Map;

import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import com.project.projectdemo.utils.ResultUtils;

@RestController
@RequestMapping("/test")
public class TestController {

	@PostMapping("/test1")
	public Map<String,Object> test1(){
		
		return  ResultUtils.getResultMap(ResultUtils.SUCCESS, "测试接口1调用成功");
	}
}
